package com.fc.mall.portal.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "小程序登录表单")
public class LoginReqDto {
    @ApiModelProperty(value = "用户登录微信凭证")
    @NotBlank(message="登录微信凭证不能为空")
    private String jsCode;

    @ApiModelProperty(value = "客户端的类型 1- 安卓 2-ios")
    private Integer deviceType;

    @ApiModelProperty(value = "邀请码")
    private String inviteCode;
}
